import request from '@/utils/request'

// 查询列表
export function queryList(data) {
    return request({
        url: '/bench/position/list',
        method: 'post',
        data: data
    })
}

// 查询详细
export function getInfo(data) {
    return request({
        url: '/bench/position/info',
        method: 'post',
        data: data
    })
}

// 新增
export function save(data) {
    return request({
        url: '/bench/position/add',
        method: 'post',
        data: data
    })
}

// 修改
export function update(data) {
    return request({
        url: '/bench/position/edit',
        method: 'post',
        data: data
    })
}

// 删除
export function remove(data) {
    return request({
        url: '/bench/position/remove',
        method: 'post',
        data: data
    })
}

// 下拉
export function workBenchList(data) {
    return request({
        url: '/work/bench/all',
        method: 'post',
        data: data
    })
}
export function productionList(data) {
    return request({
        url: '/production/line/all',
        method: 'post',
        data: data
    })
}